package hcn.protocol.phr.healthrecord;

import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * 健康档案:住院记录详情 返回数据
 *
 * @author lidq
 */
@XmlRootElement(name = "response")
public class InHosDetailResultBean implements Serializable {

    private static final long serialVersionUID = 2263838210217676682L;

    private Integer code;

    private String msg;

    private Body body;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public static class Body {
        // 用户标识
        private String mpiid;
        // 医院Code
        private String orgCode;
        // 医院名称
        private String orgName;
        // 入院诊断
        private String inDiagnosis;
        // 出院诊断
        private String outDiagnosis;
        // 医生code
        private String doctorCode;
        // 主治医生
        private String doctorName;
        // 入院情况
        @JsonIgnore
        private String inConditions;
        // 住院经过
        @JsonIgnore
        private String process;
        // 出院情况
        @JsonIgnore
        private String outConditions;
        // 出院医嘱
        @JsonIgnore
        private String outDoctorAdvice;

        private List<Information> information;

        public String getMpiid() {
            return mpiid;
        }

        public void setMpiid(String mpiid) {
            this.mpiid = mpiid;
        }

        public String getOrgCode() {
            return orgCode;
        }

        public void setOrgCode(String orgCode) {
            this.orgCode = orgCode;
        }

        public String getOrgName() {
            return orgName;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }

        public String getInDiagnosis() {
            return inDiagnosis;
        }

        public void setInDiagnosis(String inDiagnosis) {
            this.inDiagnosis = inDiagnosis;
        }

        public String getOutDiagnosis() {
            return outDiagnosis;
        }

        public void setOutDiagnosis(String outDiagnosis) {
            this.outDiagnosis = outDiagnosis;
        }

        public String getDoctorCode() {
            return doctorCode;
        }

        public void setDoctorCode(String doctorCode) {
            this.doctorCode = doctorCode;
        }

        public String getDoctorName() {
            return doctorName;
        }

        public void setDoctorName(String doctorName) {
            this.doctorName = doctorName;
        }

        public String getInConditions() {
            return inConditions;
        }

        public void setInConditions(String inConditions) {
            this.inConditions = inConditions;
        }

        public String getProcess() {
            return process;
        }

        public void setProcess(String process) {
            this.process = process;
        }

        public String getOutConditions() {
            return outConditions;
        }

        public void setOutConditions(String outConditions) {
            this.outConditions = outConditions;
        }

        public String getOutDoctorAdvice() {
            return outDoctorAdvice;
        }

        public void setOutDoctorAdvice(String outDoctorAdvice) {
            this.outDoctorAdvice = outDoctorAdvice;
        }

        public List<Information> getInformation() {
            return information;
        }

        public void setInformation(List<Information> information) {
            this.information = information;
        }
    }

    public static class Information {
        String title;

        String content;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
